package com.turing.post.common.util;

import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @角色表
 * @author zxp
 * @date 2012-12-14
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "SYSOPROLE")
public class SysOpRole implements java.io.Serializable {

	/**
	 * @超级管理员角色编号
	 */
	public static final BigInteger SUPER_ROLEID = BigInteger.ZERO;

	public static final String BranchType_IssueCompany = "01";// 01 – 发卡商
	public static final String BranchType_IssueBranch = "11";// 11 – 发卡商机构
	public static final String BranchType_SaleCompany = "02";// 02 – 销售商
	public static final String BranchType_SaleBranch = "12";// 12 – 销售商机构
	/**
	 * 角色编号
	 */
	private BigInteger roleId;// 角色编号
	/**
	 * 角色名称
	 */
	private String roleName;// 角色名称

	/**
	 * 角色对应机构类型
	 */
	private String roleBranchType;

	/**
	 * 备注
	 */
	private String remark;// 备注

	/**
	 * 发卡商号
	 */
	private String issueCompanyNo;

	public SysOpRole() {
		super();
	}

	@Id
	@Column(name = "ROLEID")
	public BigInteger getRoleId() {
		return roleId;
	}

	public void setRoleId(BigInteger roleId) {
		this.roleId = roleId;
	}

	@Column(name = "ROLENAME")
	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	@Column(name = "ROLEBRANCHTYPE")
	public String getRoleBranchType() {
		return roleBranchType;
	}

	public void setRoleBranchType(String roleBranchType) {
		this.roleBranchType = roleBranchType;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "issueCompanyNo")
	public String getIssueCompanyNo() {
		return issueCompanyNo;
	}

	public void setIssueCompanyNo(String issueCompanyNo) {
		this.issueCompanyNo = issueCompanyNo;
	}
}